package com.jddup.common.enums;

/**
 * 数据库jdbc类型
 * Created by zhangzhenbin on 17-6-15.
 */
public enum JdbcTypeEnums {
    MYSQL("JDBC_TYPE","mysql","mysql官方连接","com.mysql.jdbc.Driver"),
    POSTGRESQL("JDBC_TYPE","postgres","postgres官方连接","org.postgresql.Driver"),
    SQLSERVER("JDBC_TYPE","sqlServer","SQLServer官方连接","com.microsoft.sqlserver.jdbc.SQLServerDriver"),
    JTDS("JDBC_TYPE","jtds","SQLServer jtds连接","net.sourceforge.jtds.jdbc.Driver");
    private String code;
    private String value;
    private String comment;
    private String className;

    JdbcTypeEnums(String code, String value, String comment, String className) {
        this.code = code;
        this.value = value;
        this.comment = comment;
        this.className = className;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
}
